Each table is an array of pointers to strings; for example the scsi_key_msgtab table is defined beginning as follows:
char *scsi_key_msgtab[SC_NUMSENSE] = { "No sense", /* 0x0 */ "Recovered Error", /* 0x1 */ ...};Each of the tables is declared as extern in sys/scsi.h.
Table 15-11 lists the contents of this message table. Undefined (NULL) table entries are omitted.
ASC Value | Corresponding Message String |
---|---|
0x01 | No index/sector signal |
0x02 | No seek complete |
0x03 | Write fault |
0x04 | Not ready to perform command |
0x05 | Unit does not respond to selection |
0x06 | No reference position |
0x07 | Multiple drives selected |
0x08 | LUN communication error |
0x09 | Track error |
0x0a | Error log overflow |
0x0c | Write error |
0x10 | ID CRC or ECC error |
0x11 | Unrecovered data block read error |
0x12 | No address mark found in ID field |
0x13 | No address mark found in Data field |
0x14 | No record found |
0x15 | Seek position error |
0x16 | Data sync mark error |
0x17 | Read data recovered with retries |
0x18 | Read data recovered with ECC |
0x19 | Defect list error |
0x1a | Parameter overrun |
0x1b | Synchronous transfer error |
0x1c | Defect list not found |
0x1d | Compare error |
0x1e | Recovered ID with ECC |
0x20 | Invalid command code |
0x21 | Illegal logical block address |
0x22 | Illegal function |
0x24 | Illegal field in CDB |
0x25 | Invalid LUN |
0x26 | Invalid field in parameter list |
0x27 | Media write protected |
0x28 | Media change |
0x29 | Device reset |
0x2a | Log parameters changed |
0x2b | Copy requires disconnect |
0x2c | Command sequence error |
0x2d | Update in place error |
0x2f | Tagged commands cleared |
0x30 | Incompatible media |
0x31 | Media format corrupted |
0x32 | No defect spare location available |
0x33[2] | Media length error |
0x36 | Toner/ink error |
0x37 | Parameter rounded |
0x39 | Saved parameters not supported |
0x3a | Medium not present |
0x3b | Forms error |
0x3d | Invalid ID msg |
0x3e | Self config in progress |
0x3f | Device config has changed |
0x40 | RAM failure |
0x41 | Data path diagnostic failure |
0x42 | Power on diagnostic failure |
0x43 | Message reject error |
0x44 | Internal controller error |
0x45 | Select/reselect failed |
0x46 | Soft reset failure |
0x47 | SCSI interface parity error |
0x48 | Initiator detected error |
0x49 | Inappropriate/illegal message |
0x4a | Command phase error |
0x4b | Data phase error |
0x4c | Failed self configuration |
0x4e | Overlapped commands attempted |
0x53 | Media load/unload failure |
0x57 | Unable to read table of contents |
0x58 | Generation (optical device) bad |
0x59 | Updated block read (optical device) |
0x5a | Operator request or state change |
0x5b | Logging exception |
0x5c | RPL status change |
0x5d | Self diagnostics predict unit will fail soon |
0x60 | Lamp failure |
0x61 | Video acquisition error/focus problem |
0x62 | Scan head positioning error |
0x63 | End of user area on track |
0x64 | Illegal mode for this track |
0x70[3] | Decompression error |